var energia : int;
var mana : int;

function OnSerializeNetworkView(stream: BitStream, info: NetworkMessageInfo) {
	var e: int;
	var m: int;
	
	if (stream.isWriting)
	{
		e = energia;
		m = mana;
		stream.Serialize(e);
		stream.Serialize(m);
	}
	else
	{
		stream.Serialize(e);
		stream.Serialize(m);
		energia = e;
		mana = m;
	}    
}